package com.sdry.entity;

import java.util.ArrayList;
import java.util.List;

public class UmpsDepartmentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UmpsDepartmentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDeptIdIsNull() {
            addCriterion("dept_id is null");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNotNull() {
            addCriterion("dept_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeptIdEqualTo(Long value) {
            addCriterion("dept_id =", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotEqualTo(Long value) {
            addCriterion("dept_id <>", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThan(Long value) {
            addCriterion("dept_id >", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThanOrEqualTo(Long value) {
            addCriterion("dept_id >=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThan(Long value) {
            addCriterion("dept_id <", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThanOrEqualTo(Long value) {
            addCriterion("dept_id <=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdIn(List<Long> values) {
            addCriterion("dept_id in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotIn(List<Long> values) {
            addCriterion("dept_id not in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdBetween(Long value1, Long value2) {
            addCriterion("dept_id between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotBetween(Long value1, Long value2) {
            addCriterion("dept_id not between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptNameIsNull() {
            addCriterion("dept_name is null");
            return (Criteria) this;
        }

        public Criteria andDeptNameIsNotNull() {
            addCriterion("dept_name is not null");
            return (Criteria) this;
        }

        public Criteria andDeptNameEqualTo(String value) {
            addCriterion("dept_name =", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotEqualTo(String value) {
            addCriterion("dept_name <>", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameGreaterThan(String value) {
            addCriterion("dept_name >", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameGreaterThanOrEqualTo(String value) {
            addCriterion("dept_name >=", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameLessThan(String value) {
            addCriterion("dept_name <", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameLessThanOrEqualTo(String value) {
            addCriterion("dept_name <=", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameLike(String value) {
            addCriterion("dept_name like", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotLike(String value) {
            addCriterion("dept_name not like", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameIn(List<String> values) {
            addCriterion("dept_name in", values, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotIn(List<String> values) {
            addCriterion("dept_name not in", values, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameBetween(String value1, String value2) {
            addCriterion("dept_name between", value1, value2, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotBetween(String value1, String value2) {
            addCriterion("dept_name not between", value1, value2, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkIsNull() {
            addCriterion("dept_remark is null");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkIsNotNull() {
            addCriterion("dept_remark is not null");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkEqualTo(String value) {
            addCriterion("dept_remark =", value, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkNotEqualTo(String value) {
            addCriterion("dept_remark <>", value, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkGreaterThan(String value) {
            addCriterion("dept_remark >", value, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("dept_remark >=", value, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkLessThan(String value) {
            addCriterion("dept_remark <", value, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkLessThanOrEqualTo(String value) {
            addCriterion("dept_remark <=", value, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkLike(String value) {
            addCriterion("dept_remark like", value, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkNotLike(String value) {
            addCriterion("dept_remark not like", value, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkIn(List<String> values) {
            addCriterion("dept_remark in", values, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkNotIn(List<String> values) {
            addCriterion("dept_remark not in", values, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkBetween(String value1, String value2) {
            addCriterion("dept_remark between", value1, value2, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptRemarkNotBetween(String value1, String value2) {
            addCriterion("dept_remark not between", value1, value2, "deptRemark");
            return (Criteria) this;
        }

        public Criteria andDeptEntryIsNull() {
            addCriterion("dept_entry is null");
            return (Criteria) this;
        }

        public Criteria andDeptEntryIsNotNull() {
            addCriterion("dept_entry is not null");
            return (Criteria) this;
        }

        public Criteria andDeptEntryEqualTo(String value) {
            addCriterion("dept_entry =", value, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryNotEqualTo(String value) {
            addCriterion("dept_entry <>", value, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryGreaterThan(String value) {
            addCriterion("dept_entry >", value, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryGreaterThanOrEqualTo(String value) {
            addCriterion("dept_entry >=", value, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryLessThan(String value) {
            addCriterion("dept_entry <", value, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryLessThanOrEqualTo(String value) {
            addCriterion("dept_entry <=", value, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryLike(String value) {
            addCriterion("dept_entry like", value, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryNotLike(String value) {
            addCriterion("dept_entry not like", value, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryIn(List<String> values) {
            addCriterion("dept_entry in", values, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryNotIn(List<String> values) {
            addCriterion("dept_entry not in", values, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryBetween(String value1, String value2) {
            addCriterion("dept_entry between", value1, value2, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptEntryNotBetween(String value1, String value2) {
            addCriterion("dept_entry not between", value1, value2, "deptEntry");
            return (Criteria) this;
        }

        public Criteria andDeptTimeIsNull() {
            addCriterion("dept_time is null");
            return (Criteria) this;
        }

        public Criteria andDeptTimeIsNotNull() {
            addCriterion("dept_time is not null");
            return (Criteria) this;
        }

        public Criteria andDeptTimeEqualTo(String value) {
            addCriterion("dept_time =", value, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeNotEqualTo(String value) {
            addCriterion("dept_time <>", value, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeGreaterThan(String value) {
            addCriterion("dept_time >", value, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeGreaterThanOrEqualTo(String value) {
            addCriterion("dept_time >=", value, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeLessThan(String value) {
            addCriterion("dept_time <", value, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeLessThanOrEqualTo(String value) {
            addCriterion("dept_time <=", value, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeLike(String value) {
            addCriterion("dept_time like", value, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeNotLike(String value) {
            addCriterion("dept_time not like", value, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeIn(List<String> values) {
            addCriterion("dept_time in", values, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeNotIn(List<String> values) {
            addCriterion("dept_time not in", values, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeBetween(String value1, String value2) {
            addCriterion("dept_time between", value1, value2, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptTimeNotBetween(String value1, String value2) {
            addCriterion("dept_time not between", value1, value2, "deptTime");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1IsNull() {
            addCriterion("dept_remark1 is null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1IsNotNull() {
            addCriterion("dept_remark1 is not null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1EqualTo(String value) {
            addCriterion("dept_remark1 =", value, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1NotEqualTo(String value) {
            addCriterion("dept_remark1 <>", value, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1GreaterThan(String value) {
            addCriterion("dept_remark1 >", value, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1GreaterThanOrEqualTo(String value) {
            addCriterion("dept_remark1 >=", value, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1LessThan(String value) {
            addCriterion("dept_remark1 <", value, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1LessThanOrEqualTo(String value) {
            addCriterion("dept_remark1 <=", value, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1Like(String value) {
            addCriterion("dept_remark1 like", value, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1NotLike(String value) {
            addCriterion("dept_remark1 not like", value, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1In(List<String> values) {
            addCriterion("dept_remark1 in", values, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1NotIn(List<String> values) {
            addCriterion("dept_remark1 not in", values, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1Between(String value1, String value2) {
            addCriterion("dept_remark1 between", value1, value2, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark1NotBetween(String value1, String value2) {
            addCriterion("dept_remark1 not between", value1, value2, "deptRemark1");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2IsNull() {
            addCriterion("dept_remark2 is null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2IsNotNull() {
            addCriterion("dept_remark2 is not null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2EqualTo(String value) {
            addCriterion("dept_remark2 =", value, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2NotEqualTo(String value) {
            addCriterion("dept_remark2 <>", value, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2GreaterThan(String value) {
            addCriterion("dept_remark2 >", value, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2GreaterThanOrEqualTo(String value) {
            addCriterion("dept_remark2 >=", value, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2LessThan(String value) {
            addCriterion("dept_remark2 <", value, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2LessThanOrEqualTo(String value) {
            addCriterion("dept_remark2 <=", value, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2Like(String value) {
            addCriterion("dept_remark2 like", value, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2NotLike(String value) {
            addCriterion("dept_remark2 not like", value, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2In(List<String> values) {
            addCriterion("dept_remark2 in", values, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2NotIn(List<String> values) {
            addCriterion("dept_remark2 not in", values, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2Between(String value1, String value2) {
            addCriterion("dept_remark2 between", value1, value2, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark2NotBetween(String value1, String value2) {
            addCriterion("dept_remark2 not between", value1, value2, "deptRemark2");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3IsNull() {
            addCriterion("dept_remark3 is null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3IsNotNull() {
            addCriterion("dept_remark3 is not null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3EqualTo(String value) {
            addCriterion("dept_remark3 =", value, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3NotEqualTo(String value) {
            addCriterion("dept_remark3 <>", value, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3GreaterThan(String value) {
            addCriterion("dept_remark3 >", value, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3GreaterThanOrEqualTo(String value) {
            addCriterion("dept_remark3 >=", value, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3LessThan(String value) {
            addCriterion("dept_remark3 <", value, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3LessThanOrEqualTo(String value) {
            addCriterion("dept_remark3 <=", value, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3Like(String value) {
            addCriterion("dept_remark3 like", value, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3NotLike(String value) {
            addCriterion("dept_remark3 not like", value, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3In(List<String> values) {
            addCriterion("dept_remark3 in", values, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3NotIn(List<String> values) {
            addCriterion("dept_remark3 not in", values, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3Between(String value1, String value2) {
            addCriterion("dept_remark3 between", value1, value2, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark3NotBetween(String value1, String value2) {
            addCriterion("dept_remark3 not between", value1, value2, "deptRemark3");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4IsNull() {
            addCriterion("dept_remark4 is null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4IsNotNull() {
            addCriterion("dept_remark4 is not null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4EqualTo(String value) {
            addCriterion("dept_remark4 =", value, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4NotEqualTo(String value) {
            addCriterion("dept_remark4 <>", value, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4GreaterThan(String value) {
            addCriterion("dept_remark4 >", value, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4GreaterThanOrEqualTo(String value) {
            addCriterion("dept_remark4 >=", value, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4LessThan(String value) {
            addCriterion("dept_remark4 <", value, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4LessThanOrEqualTo(String value) {
            addCriterion("dept_remark4 <=", value, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4Like(String value) {
            addCriterion("dept_remark4 like", value, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4NotLike(String value) {
            addCriterion("dept_remark4 not like", value, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4In(List<String> values) {
            addCriterion("dept_remark4 in", values, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4NotIn(List<String> values) {
            addCriterion("dept_remark4 not in", values, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4Between(String value1, String value2) {
            addCriterion("dept_remark4 between", value1, value2, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark4NotBetween(String value1, String value2) {
            addCriterion("dept_remark4 not between", value1, value2, "deptRemark4");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5IsNull() {
            addCriterion("dept_remark5 is null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5IsNotNull() {
            addCriterion("dept_remark5 is not null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5EqualTo(String value) {
            addCriterion("dept_remark5 =", value, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5NotEqualTo(String value) {
            addCriterion("dept_remark5 <>", value, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5GreaterThan(String value) {
            addCriterion("dept_remark5 >", value, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5GreaterThanOrEqualTo(String value) {
            addCriterion("dept_remark5 >=", value, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5LessThan(String value) {
            addCriterion("dept_remark5 <", value, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5LessThanOrEqualTo(String value) {
            addCriterion("dept_remark5 <=", value, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5Like(String value) {
            addCriterion("dept_remark5 like", value, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5NotLike(String value) {
            addCriterion("dept_remark5 not like", value, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5In(List<String> values) {
            addCriterion("dept_remark5 in", values, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5NotIn(List<String> values) {
            addCriterion("dept_remark5 not in", values, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5Between(String value1, String value2) {
            addCriterion("dept_remark5 between", value1, value2, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark5NotBetween(String value1, String value2) {
            addCriterion("dept_remark5 not between", value1, value2, "deptRemark5");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6IsNull() {
            addCriterion("dept_remark6 is null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6IsNotNull() {
            addCriterion("dept_remark6 is not null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6EqualTo(String value) {
            addCriterion("dept_remark6 =", value, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6NotEqualTo(String value) {
            addCriterion("dept_remark6 <>", value, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6GreaterThan(String value) {
            addCriterion("dept_remark6 >", value, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6GreaterThanOrEqualTo(String value) {
            addCriterion("dept_remark6 >=", value, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6LessThan(String value) {
            addCriterion("dept_remark6 <", value, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6LessThanOrEqualTo(String value) {
            addCriterion("dept_remark6 <=", value, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6Like(String value) {
            addCriterion("dept_remark6 like", value, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6NotLike(String value) {
            addCriterion("dept_remark6 not like", value, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6In(List<String> values) {
            addCriterion("dept_remark6 in", values, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6NotIn(List<String> values) {
            addCriterion("dept_remark6 not in", values, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6Between(String value1, String value2) {
            addCriterion("dept_remark6 between", value1, value2, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark6NotBetween(String value1, String value2) {
            addCriterion("dept_remark6 not between", value1, value2, "deptRemark6");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7IsNull() {
            addCriterion("dept_remark7 is null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7IsNotNull() {
            addCriterion("dept_remark7 is not null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7EqualTo(String value) {
            addCriterion("dept_remark7 =", value, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7NotEqualTo(String value) {
            addCriterion("dept_remark7 <>", value, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7GreaterThan(String value) {
            addCriterion("dept_remark7 >", value, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7GreaterThanOrEqualTo(String value) {
            addCriterion("dept_remark7 >=", value, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7LessThan(String value) {
            addCriterion("dept_remark7 <", value, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7LessThanOrEqualTo(String value) {
            addCriterion("dept_remark7 <=", value, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7Like(String value) {
            addCriterion("dept_remark7 like", value, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7NotLike(String value) {
            addCriterion("dept_remark7 not like", value, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7In(List<String> values) {
            addCriterion("dept_remark7 in", values, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7NotIn(List<String> values) {
            addCriterion("dept_remark7 not in", values, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7Between(String value1, String value2) {
            addCriterion("dept_remark7 between", value1, value2, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark7NotBetween(String value1, String value2) {
            addCriterion("dept_remark7 not between", value1, value2, "deptRemark7");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8IsNull() {
            addCriterion("dept_remark8 is null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8IsNotNull() {
            addCriterion("dept_remark8 is not null");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8EqualTo(String value) {
            addCriterion("dept_remark8 =", value, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8NotEqualTo(String value) {
            addCriterion("dept_remark8 <>", value, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8GreaterThan(String value) {
            addCriterion("dept_remark8 >", value, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8GreaterThanOrEqualTo(String value) {
            addCriterion("dept_remark8 >=", value, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8LessThan(String value) {
            addCriterion("dept_remark8 <", value, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8LessThanOrEqualTo(String value) {
            addCriterion("dept_remark8 <=", value, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8Like(String value) {
            addCriterion("dept_remark8 like", value, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8NotLike(String value) {
            addCriterion("dept_remark8 not like", value, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8In(List<String> values) {
            addCriterion("dept_remark8 in", values, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8NotIn(List<String> values) {
            addCriterion("dept_remark8 not in", values, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8Between(String value1, String value2) {
            addCriterion("dept_remark8 between", value1, value2, "deptRemark8");
            return (Criteria) this;
        }

        public Criteria andDeptRemark8NotBetween(String value1, String value2) {
            addCriterion("dept_remark8 not between", value1, value2, "deptRemark8");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}